home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / editors / mutt / me2s_pl7.zoo / mu_edit2 / ed / led.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-05  |  2.5 KB  |  76 lines

  1. /* $Id: led.h,v 1.1 1992/09/14 13:02:14 mike Exp $ */
  2.  
  3. /* $Log: led.h,v $
  4.  * Revision 1.1  1992/09/14  13:02:14  mike
  5.  * Initial revision
  6.  *
  7.  */
  8.  
  9. /* LED.h : 
  10.  */
  11.  
  12. /* Craig Durland    Public Domain
  13.  *   Distributed "as is", without warranties of any kind, but comments,
  14.  *     suggestions and bug reports are welcome.
  15.  */
  16.  
  17. #ifndef __LED_H_INCLUDED
  18. #define __LED_H_INCLUDED
  19.  
  20. /* ******************************************************************** */
  21. /* ************* LED functions **************************************** */
  22. /* ******************************************************************** */
  23.  
  24. #define LF_CALLBACK    0
  25. #define LF_EXTEND    1
  26.         /* cursor movement */
  27. #define LF_LEFT        2
  28. #define LF_RIGHT    3
  29. #define LF_BoL        4
  30. #define LF_EoL        5
  31.         /* delete characters */
  32. #define LF_BS        6
  33. #define LF_DEL_CHAR    7
  34. #define LF_EEoL        8
  35. #define LF_CLEAR_LINE    9
  36.         /* misc user functions */
  37. #define LF_QUOTE    10
  38. #define LF_UQUOTE    11    /* UNIX like quote */
  39. #define LF_TAB        12
  40.         /* process control */
  41. #define LF_UNDEF    13    /* not defined [yet] or undefine it */
  42. #define LF_STOP        14    /* the last function has been done */
  43. #define LF_ERROR    15    /* some kind of a error */
  44. #define LF_DONE        16    /* I'm done, process my input */
  45. #define LF_ABORT    17    /* I want to QUIT! */
  46. #define LF_NOOP        18    /* do nothing */
  47. #define LF_OK        LF_NOOP    /* everything is just peachy */
  48.         /* ?? */
  49. #define LF_UPDATE    19    /* sync the virtual and physical lines */
  50. #define LF_REDRAW    20    /* the physical line is garbage */
  51. #define LF_CTYNC    21    /* sync cursor */
  52. #define LF_PROMPT     22    /* Add prompt to the buffer */
  53.         /* noninteractive functions */
  54. #define LF_INSERT_STRING    23    /* insert a bunch of characters */
  55. #define LF_INSERT_KEYCODE    24
  56. #define LF_CLEAR_KEYMAP        25
  57. #define LF_BINDKEY        26    /* bind a list of keys to fcns */
  58. #define LF_PKEY            27    /* bind a prefix key list */
  59.  
  60. /* ******************************************************************** */
  61. /* ************* LED Flags ******************************************** */
  62. /* ******************************************************************** */
  63.  
  64. #define LFnohist    0x01        /* Don't save history */
  65. #define LFrecdraw    0x02        /* Don't redraw on recurse */
  66.  
  67. /* ******************************************************************** */
  68. /* ************* LED Errors ******************************************* */
  69. /* ******************************************************************** */
  70.  
  71. #define LEmem        0        /* No memory */
  72. #define LEunknown_fcn    1        /* unknown function */
  73. #define LEbound        2        /* arg out of bounds */
  74.  
  75. #endif    /* __LED_H_INCLUDED */
  76.